package com.atguigu.spzx.user.service;

import com.atguigu.spzx.model.dto.user.LoginDto;
import com.atguigu.spzx.model.dto.user.UserRegisterDto;
import com.atguigu.spzx.model.pojo.h5.UserInfo;
import com.atguigu.spzx.model.vo.h5.UserInfoVo;
import com.baomidou.mybatisplus.extension.service.IService;

public interface UserInfoService extends IService<UserInfo> {

    boolean doRegister(UserRegisterDto userRegisterDto);

    String doLogin(LoginDto loginRequest);

    /*
     * @description: 用户登录
     **/
    UserInfo getUserByToken(String token);

    UserInfoVo getCurrentUserInfo();

}
